package com.ims.client.util;

import java.net.InetAddress;
import java.net.UnknownHostException;

public class DeviceNameUtil {
    public static String getDeviceName(){
        InetAddress addr = null;

        try{
            addr = InetAddress.getLocalHost();
            String deviceNmae = addr.getHostName();
            return deviceNmae;
        }catch (UnknownHostException e){
            e.printStackTrace();
        }
        return null;
    }
}
